home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.012.Signals / TestSignal.make < prev    next >
Encoding:
Text File  |  1988-10-31  |  1.5 KB  |  53 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    Exception handling for MPW Pascal, MacApp and MPW C
  5. #
  6. #    UFailure (aka Signals) - “Exceptional code, with a few exceptions.”
  7. #
  8. #    TestSignal.make    -    Makefile for Pascal access to enhanced UFailure
  9. #
  10. #    Copyright © 1985-1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    11/88
  14. #
  15. #    Components:    UFailure.p            November 1, 1988
  16. #                UFailure.h            November 1, 1988
  17. #                UFailure.inc1.p        November 1, 1988
  18. #                UFailure.a            November 1, 1988
  19. #                TestCignal.c        November 1, 1988
  20. #                TestCignal.make        November 1, 1988
  21. #                TestSignal.p        November 1, 1988
  22. #                TestSignal.make        November 1, 1988
  23. #
  24. #    UFailure (or Signals) is a set of exception handling routines suitable for
  25. #    use with MacApp, MPW C, and MPW Pascal. It is a jazzed-up version of the MacApp
  26. #    UFailure unit. There is a set of C interfaces to it as well.
  27. #
  28.  
  29. # turn on debugging information (use 0 & FALSE to turn it off)
  30. AOptions = -d &Debug=1
  31. POptions = -d qDebug=TRUE -mbg ch8
  32. # if you set qDebug to FALSE you should use -mbg off
  33.  
  34. UFailure.o        ƒ    UFailure.p.o UFailure.a.o
  35.     Lib UFailure.p.o UFailure.a.o -o UFailure.o
  36.     
  37. UFailure.p.o ƒƒ UFailure.p UFailure.inc1.p
  38.     
  39. TestSignal.p.o ƒƒ TestSignal.p UFailure.p
  40.  
  41. TestSignal ƒƒ TestSignal.p.o UFailure.o
  42.     Link -c 'MPS ' -t MPST ∂
  43.         -sn STDIO=Main ∂
  44.         -sn INTENV=Main ∂
  45.         -sn %A5Init=Init ∂
  46.         "{Libraries}"Runtime.o ∂
  47.         "{Libraries}"Interface.o ∂
  48.         "{PLibraries}"PasLib.o ∂
  49.         UFailure.o ∂
  50.         TestSignal.p.o ∂
  51.         -o TestSignal
  52. # note that we could link with stubs to reduce the tool size (see the
  53. # ResEqual MPW tool example)